package Cards;

import Cards.Card;

public class EventCardGain extends Card {
	
	private int cost;

	public EventCardGain(String aName, int aValue, int aCost ) {
		super(Card.EventCardGain, aName, aValue);
		cost = aCost;
	}

	public void setCost(int cost) {
		this.cost = cost;
	}

	public int getCost() {
		return cost;
	}
	
	@Override
	public String toString(){
		return getName() + "   You get " + getValue().toString();
	}

}
